package com.house.mapper;

import com.house.entity.House;
import com.house.entity.HouseExample;
import com.house.util.HouseCondition;
import org.jboss.logging.Param;

import java.util.List;

public interface HouseMapper {
    int deleteByPrimaryKey(String id);

    int insert(House record);

    int insertSelective(House record);

    List<House> selectByExample(HouseExample example);

    House selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(House record);

    int updateByPrimaryKey(House record);

    List<House> getHouseByUser( Integer id);

   House getHouse( String id);

   List<House>  getSearchHouse(HouseCondition houseCondition);//分页带条件

}